package org.dromara.cms.domain.vo;

import org.dromara.cms.domain.CmsArticleCategory;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * CMS文章分类视图对象 cms_article_category
 *
 * @author Spring
 * @date 2024-12-24
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = CmsArticleCategory.class)
public class CmsArticleCategoryVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 分类ID
     */
    @ExcelProperty(value = "分类ID")
    private Long id;

    /**
     * 父分类ID
     */
    @ExcelProperty(value = "父分类ID")
    private Long parentId;

    /**
     * 分类名称
     */
    @ExcelProperty(value = "分类名称")
    private String title;

    /**
     * URL别名
     */
    @ExcelProperty(value = "URL别名")
    private String slug;



    /**
     * 分类描述
     */
    @ExcelProperty(value = "分类描述")
    private String description;

    /**
     * 关键词
     */
    @ExcelProperty(value = "关键词")
    private String keywords;

    /**
     * 显示顺序
     */
    @ExcelProperty(value = "显示顺序")
    private Long sort;

    /**
     * 模板
     */
    @ExcelProperty(value = "模板")
    private String template;

    /**
     * 是否显示(0隐藏 1显示)
     */
    @ExcelProperty(value = "是否显示(0隐藏 1显示)")
    private String isShow;

    /**
     * 状态(0正常 1停用)
     */
    @ExcelProperty(value = "状态(0正常 1停用)")
    private String status;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createTime;
}
